//
//  SuggestioinDetailController.m
//  MingShi
//
//  Created by MJiao on 15/6/26.
//  Copyright (c) 2015年 MJiao. All rights reserved.
//

#import "SuggestioinDetailController.h"

@implementation SuggestioinDetailController


- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
   // NSLog(@"didSelectedSuggestion:%@",[self.suggestion title]);
    //NSLog(@"self.suggestion.userName:%@",self.suggestion.userName);
    [self.lbTitle setText:self.suggestion.title];
    [self.lbContent setText:self.suggestion.contents];
    
    
    self.lbContent.layer.borderColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.2].CGColor;
    self.lbContent.layer.borderWidth = 1.0;
    
    self.lbContent.layer.cornerRadius = 5;
    self.lbContent.layer.masksToBounds = YES;
    
    
    self.navigationItem.title =self.suggestion.title;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
